package com.wayhome.openfeign.service.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.GetMapping;

@Component
@FeignClient(name = "stock-server")
public interface StockFeignService {

    @GetMapping(value = "/stock/reduct")
    String reduction();
}
